package com.youxin.cpcenter.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.youxin.busfoundation.bean.leads.ResponseLeadsHistoryBean;
import com.youxin.cpcenter.model.TbEntCluePoolLog;

@Mapper
public interface TbEntCluePoolLogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TbEntCluePoolLog record);

    int insertSelective(TbEntCluePoolLog record);

    TbEntCluePoolLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbEntCluePoolLog record);

    int updateByPrimaryKey(TbEntCluePoolLog record);
    
    List<ResponseLeadsHistoryBean> selectHistoryByLeadsId(long leadsId);

    int deleteByCluePoolId(Long cluePoolId);
}